package com.boarsoft.dao.sharding.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * JDBC连接信息
 *
 */
public class JdbcUrlInfo {
    /** 数据库类型 */
    protected String dbType;

    /** 数据库主机 */
    protected String host;

    /** 数据库端口 */
    protected String port;

    /** 数据库名称 */
    protected String database;

    /** 参数集合 */
    protected Map<String, String> params = new HashMap<>();


    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public Map<String, String> getParams() {
        return params;
    }

    public void setParams(Map<String, String> params) {
        this.params = params;
    }
}